package gam.n1;

import java.util.Random;

public class MathHelper {
    public static double a(double a ,double b){
        return Math.abs(b - a);
    }
    public static double max(double a, double b){
        return Math.max(Math.abs(a),Math.abs(b));
    }
    public static double min(double a, double b){
        return Math.min(Math.abs(a),Math.abs(b));
    }
    public static int rl(Random random,int c){
        return random.nextInt(c);
    }
    public static double vol(double a,double b, double c){return a * b * c;}
}
